﻿// --------------------------------------------------------------------------------------------------------------------
// <copyright file="VehicleTransaction.cs" company="Concept Architecture">
//   (c) 2010 Muhammad Umer Farooq
// </copyright>
// <summary>
//   Defines the  type.
// </summary>
// --------------------------------------------------------------------------------------------------------------------

namespace Hisaab.Windows.Client.Model
{
    using System;

    /// <summary>
    /// Defines the <seealso cref="VehicleTransaction"/> type.
    /// </summary>
    public class VehicleTransaction
    {
        /// <summary>
        /// Gets or sets the id.
        /// </summary>
        /// <value>
        /// The id of transaction.
        /// </value>
        public int Id { get; set; }

        /// <summary>
        /// Gets or sets the milage.
        /// </summary>
        /// <value>
        /// The milage.
        /// </value>
        public int Milage { get; set; }

        /// <summary>
        /// Gets or sets the notes.
        /// </summary>
        /// <value>
        /// The notes.
        /// </value>
        public string Notes { get; set; }

        /// <summary>
        /// Gets or sets the fill.
        /// </summary>
        /// <value>
        /// The fill quantity.
        /// </value>
        public decimal? Fill { get; set; }

        /// <summary>
        /// Gets or sets the oil.
        /// </summary>
        /// <value>
        /// The oil Fill.
        /// </value>
        public decimal? Oil { get; set; }

        /// <summary>
        /// Gets or sets the service.
        /// </summary>
        /// <value>
        /// The service.
        /// </value>
        public decimal? Service { get; set; }

        /// <summary>
        /// Gets or sets the transaction id.
        /// </summary>
        /// <value>
        /// The transaction id.
        /// </value>
        public int TransactionId { get; set; }

        /// <summary>
        /// Gets or sets the tires.
        /// </summary>
        /// <value>
        /// The tires.
        /// </value>
        public decimal? Tires { get; set; }

        /// <summary>
        /// Gets or sets the vehicle id.
        /// </summary>
        /// <value>
        /// The vehicle id.
        /// </value>
        public int VehicleId { get; set; }

        /// <summary>
        /// Gets or sets the account.
        /// </summary>
        /// <value>
        /// The account.
        /// </value>
        public int Account { get; set; }

        /// <summary>
        /// Gets or sets the date.
        /// </summary>
        /// <value>
        /// The date of transaction
        /// </value>
        public DateTime Date { get; set; }

        /// <summary>
        /// Gets or sets the fuel.
        /// </summary>
        /// <value>
        /// The price of fuel.
        /// </value>
        public decimal? Fuel { get; set; }
    }
}